/*
 * @(#)AbstractFunctionAccessForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.user.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.dcivision.framework.web.AbstractActionForm;

/**
  AbstractFunctionAccessForm.java

  This class is the for web form of setup function access right purpose.

   @author           Rollo Chan
   @company          DCIVision Limited
   @creation date    09/09/2003
   @version          $Revision: 1.2 $
*/

public abstract class AbstractFunctionAccessForm extends AbstractActionForm {
  private String functionPermission;

  public AbstractFunctionAccessForm() {
    super();
  }

  public String getFunctionPermission() {
    return(this.functionPermission);
  }

  public void setFunctionPermission(String functionPermission) {
    this.functionPermission = functionPermission;
  }

  public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
    this.setFunctionPermission(null);
  }

}